//
//  QLNiceNetworkTools.h
//  Nice
//
//  Created by huangyueqi on 2017/8/1.
//  Copyright © 2017年 sjyt. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking/AFNetworking.h>

#define SCREEN_WIDTH [UIScreen mainScreen].bounds.size.width
#define SCREEN_HEIGHT [UIScreen mainScreen].bounds.size.height
#define RGB(r, g, b) [UIColor colorWithRed:r / 255.0f green:g / 255.0f blue:b / 255.0f alpha:1.0f]

@interface QLNiceNetworkTools : AFHTTPSessionManager

+ (instancetype)sharedTools;

- (void)requestWithUrl:(NSString *)url andParams:(id)params andCallBack:(void (^)(id response, NSError *error))callBack;

@end
